package db

import "github.com/go-xorm/core"

func setLogger(){

}

type dbLogger struct{
}

func (db *dbLogger)Debug(v ...interface{}){

}

func (db *dbLogger)Debugf(format string, v ...interface{}){

}

func (db *dbLogger)Error(v ...interface{}){

}
func (db *dbLogger)Errorf(format string, v ...interface{}){}
func (db *dbLogger)Info(v ...interface{}){}
func (db *dbLogger)Infof(format string, v ...interface{}){}
func (db *dbLogger)Warn(v ...interface{}){}
func (db *dbLogger)Warnf(format string, v ...interface{}){}

func (db *dbLogger)Level() core.LogLevel{
    return 0
}
func (db *dbLogger)SetLevel(l core.LogLevel){
    return
}

func (db *dbLogger)ShowSQL(show ...bool){

}
func (db *dbLogger)IsShowSQL() bool{
    return false
}